package com.huopaolan.yohuoshop.Di.Modules;

import com.huopaolan.yohuoshop.Mvp.Contract.ShoesFragmentContract;
import com.huopaolan.yohuoshop.Mvp.Model.ShoesFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class ShoesFragmentModules {
    private ShoesFragmentContract.ShoesIView iView;

    public ShoesFragmentModules(ShoesFragmentContract.ShoesIView iView) {
        this.iView = iView;
    }

    @Provides
    public ShoesFragmentContract.ShoesIView providerIView() {
        return iView;
    }

    @Provides
    public ShoesFragmentContract.ShoesIModel providerIModel() {
        return new ShoesFragmentModel();
    }
}
